package com.he.abstractfactorymodel.factory.concretepeople;

import com.he.abstractfactorymodel.factory.abstractfactory.Peoplefactory;
import com.he.abstractfactorymodel.product.People;
import com.he.abstractfactorymodel.product.concretepeople.BlackWoMan;
import com.he.abstractfactorymodel.product.concretepeople.WhiteWoMan;
import com.he.abstractfactorymodel.product.concretepeople.YellowWoMan;

public class WoManfactory extends Peoplefactory {
    @Override
    public People createYellowPeople() {
        return createPoeple(YellowWoMan.class);
    }

    @Override
    public People createWhitePeople() {
        return createPoeple(WhiteWoMan.class);
    }

    @Override
    public People createBlackPeople() {
        return createPoeple(BlackWoMan.class);
    }
    
}
